package 蓝桥真题;

import java.time.LocalDate;

public class 跑步锻炼 {
       
	public static void main(String[]args)throws Exception{
		   LocalDate ld = LocalDate.of(2000, 1, 1);
		   
		   int week=6;
		   int res=0;
		   while(!ld.toString().equals("2020-10-02")){
			     res++;
			     if(ld.getDayOfMonth()==1||week==1)res++;
			     if(week++==7)week=1;
			     ld=ld.plusDays(1L);
		   }
		   System.out.print(res);
	}
}
